package com.text.main;

import com.text.config.MainConfigration;
import com.text.entry.Student;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context=new AnnotationConfigApplicationContext(MainConfigration.class);
        Student student = context.getBean(Student.class);
        student.say("hello");


    }
}
